Package-level declarations
The main package of the SDK implementation that hosts the overall interface as well as the concrete implementations. This package can be used to instantiate the desired implementation and to start the communication with the Sidecar container.
Types
The Agones SDK represents the technical interface through which this server can communicate its current state to Agones. This SDK cannot be used to request new resources in Agones. Instead, its methods are used to manipulate and query the state of the GameServer resource associated with this instance. The SDK focuses solely on the individual instance and ignores the rest of the cluster. For requests to Agones or the cluster, the Kubernetes API should be used instead. A single instance of the SDK should be reused across all requests.
A GrpcAgonesSdk represents the gRPC implementation of the Agones SDK. The implementation is based on the official Protobufs released with Agones. Each platform only needs one implementation of the Agones SDK, but does not have to worry about selecting the best implementation. Instead, the factory method specifies the implementation. All implementations fully comply with the Agones specification.